package cn.itsource.ymcc.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Eric Chen
 * @since 2022/7/10
 */
//短信验证码发送接收参数的DTO对象
@Data
public class SMSSendDTO {
    //图片验证码
    @NotEmpty(message = "图片验证码不可为空")
    private String imageCode;
    //图片验证码的key
    @NotEmpty(message = "非法请求")
    private String imageCodeKey;
    //手机号
    @NotEmpty(message = "手机号不可为空")
    private String mobile;
}
